package cn.test.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Title: spring-boot-demo
 * @Package cn.test.web
 * @Date 2018/5/2上午10:36
 * @Author PX ye
 * @E-mail yepx2013@gmail.com
 * @Company http://www.yiautos.com
 * @Description: ${todo}
 */
@RestController
public class DemoController {

    @RequestMapping(value = "hello")
    public String index(){
        return "Hello, world";
    }
}
